home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / misc / vinced / include / clib / vnc_protos.h < prev   
C/C++ Source or Header  |  1999-04-19  |  7KB  |  152 lines

  1. #ifndef  CLIB_VNC_PROTOS_H
  2. #define  CLIB_VNC_PROTOS_H
  3.  
  4. /*
  5. **      $VER: vnc_protos.h 41.0 (19.8.98)
  6. **      Includes Release 41.0
  7. **
  8. **      C prototypes. For use with 32 bit integers only.
  9. **
  10. **      (C) Copyright 1990-1998 THOR-Software, Thomas Richter
  11. **          All Rights Reserved
  12. */
  13.  
  14. #ifndef EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef EXEC_IO_H
  18. #include <exec/io.h>
  19. #endif
  20. #ifndef VNC_WINDOW_H
  21. #include <vnc/window.h>
  22. #endif
  23. #ifndef VNC_OWNER_H
  24. #include <vnc/owner.h>
  25. #endif
  26. #ifndef VNC_PREFS_H
  27. #include <vnc/window.h>
  28. #endif
  29. #ifndef VNC_DYNAMICS_H
  30. #include <vnc/dynamics.h>
  31. #endif
  32. #ifndef VNC_KEYBOARD_H
  33. #include <vnc/keyboard.h>
  34. #endif
  35. #ifndef VNC_IO_H
  36. #include <vnc/io.h>
  37. #endif
  38.  
  39. void SetCNWindow ( struct ViNCWindow * );
  40. struct ViNCWindow * GetVNCWindow ( void );
  41. struct InputEvent * VNCInputHandler ( struct InputEvent *, struct VNCLibrary *);
  42. struct InputEvent * VNCImInputHandler ( struct InputEvent *, struct VNCLibrary *);
  43. LONG VNCRawKeyConvert ( struct KeymapRequest * );
  44. LONG SwitchTABExpansion ( struct ViNCWindow *, LONG );
  45. LONG SwitchTABExpansion_CN ( LONG ) ;
  46. LONG HandleTabExpansion ( struct ViNCWindow *, ULONG, ULONG, ULONG, ULONG, char *, struct ViOwner *);
  47. LONG HandleTabExpansion_CN ( ULONG, ULONG, ULONG, char *, struct ViOwner *);
  48. LONG AbortTabExpansion ( struct ViNCWindow * );
  49. LONG AbortTabExpansion_CN ( VOID );
  50. VOID LockWindow ( struct ViNCWindow * );
  51. VOID LockWindow_CN ( VOID );
  52. VOID UnLockWindow ( struct ViNCWindow * );
  53. VOID UnLockWindow_CN ( VOID );
  54. struct ViNCWindow * FindCNWindow ( BPTR );
  55. VOID UnFindCNWindow ( BPTR );
  56. ULONG GetVNCPrefs ( struct VNCPrefs * , LONG );
  57. ULONG GetVNCDefaultPrefs ( struct VNCPrefs * , LONG );
  58. ULONG LoadPrefsFrom ( struct VNCPrefs * , LONG , char * );
  59. LONG SavePrefs ( struct VNCPrefs * , LONG );
  60. LONG SavePrefsTO ( struct VNCPrefs * , LONG , char * );
  61. LONG UsePrefs ( struct VNCPrefs * , LONG );
  62. LONG SetWindowPrefs ( struct ViNCWindow , struct VNCPrefs * , LONG );
  63. LONG SetWindowPrefs_CN ( struct VNCPrefs * , LONG );
  64. LONG GetWindowPrefs ( struct ViNCWindow , struct VNCPrefs * , LONG );
  65. LONG GetWindowPrefs_CN ( struct VNCPrefs * , LONG );
  66. struct VNCPrefs * AllocPrefsBuffer ( VOID );
  67. VOID FreePrefsBuffer ( struct VNCPrefs * );
  68. LONG List2Prefs ( struct ViNCWindow * , struct List * , struct VNCPrefs * , UWORD , UWORD , UWORD , UWORD );
  69. LONG List2Prefs_CN ( struct List *  , struct List * , struct VNCPrefs * , UWORD , UWORD , UWORD , UWORD );
  70. LONG Prefs2List ( struct ViNCWindow * , struct List * , struct VNCPrefs * , UWORD , UWORD , UWORD , UWORD );
  71. LONG Prefs2List_CN ( struct List *  , struct List * , struct VNCPrefs * , UWORD , UWORD , UWORD , UWORD );
  72. VOID FreeMacroList ( struct ViNCWindow * , struct List * );
  73. VOID FreeMacroList_CN ( struct List * );
  74. BOOL SendRequestPattern ( struct ViNCWindow * , char * );
  75. BOOL SendRequestPattern_CN ( char * );
  76. BOOL SendWindowOpens ( struct ViNCWindow * );
  77. BOOL SendWindowOpens_CN ( VOID );
  78. BOOL SendWindowCloses ( struct ViNCWindow * );
  79. BOOL SendWindowCloses_CN ( VOID );
  80. BOOL SendWindowQuits ( struct ViNCWindow * );
  81. BOOL SendWindowQuits_CN ( VOID );
  82. LONG VNCRequestFile ( struct ViNCWindow * , struct ViRequest * );
  83. LONG VNCRequestFile_CN ( struct ViRequest * );
  84. LONG CtrlZSuspend ( struct ViNCWindow * , struct ViOwner * );
  85. LONG CtrlZSuspend_CN ( struct ViOwner * );
  86. ULONG VNCUniqueID ( VOID );
  87. struct Node * GetNodeN ( struct List * , ULONG count );
  88. void * AllocEdMem ( struct ViNCWindow * , ULONG , ULONG );
  89. void * AllocEdMem_CN ( ULONG , ULONG );
  90. VOID FreeEdMem ( struct ViNCWindow * , void * );
  91. VOID FreeEdMem_CN ( void * );
  92. struct DynNode * AllocLine ( struct ViNCWindow * , UWORD );
  93. struct DynNode * AllocLine_CN ( UWORD );
  94. VOID FreeLine ( struct ViNCWindow * , struct DynNode * );
  95. VOID FreeLine_CN ( struct DynNode * );
  96. BOOL NotifyChOwner ( struct ViNCWindow * , struct ViOwner * , struct ViOwner * , char cmd );
  97. BOOL NotifyChOwner_CN ( struct ViOwner * , struct ViOwner * , char cmd );
  98. BOOL NotifyClearScreen ( struct ViNCWindow * );
  99. BOOL NotifyClearScreen_CN ( VOID );
  100. LONG VNCAToI ( struct Convert * );
  101. LONG VNCHToI ( struct Convert * );
  102. LONG VNCStrToL ( struct Convert * , ULONG base );
  103. VOID VNCIToA ( LONG , char * );
  104. VOID VNCSPrintf ( char * , char * , char * );
  105. LONG VNCStrCmp ( char * , char * );
  106. LONG VNCStrICmp ( char * , char * , ULONG );
  107. char VNCToUpper ( char );
  108. VOID ConvertWindowTitle ( struct ViNCWindow * , struct ViOwner , char * , char * );
  109. VOID ConvertWindowTitle_CN ( struct ViOwner * , char * , char * );
  110. char * FindCloseMacro ( struct ViNCWindow * , struct ViOwner * );
  111. char * FindCloseMacro_CN ( struct ViOwner * );
  112. VOID PrintSuspend ( struct ViNCWindow * , struct MsgPort * , struct ViOwner * );
  113. VOID PrintSuspend_CN ( struct ViNCWindow * , struct MsgPort * , struct ViOwner * );
  114. BOOL QueueOwnerLine ( struct ViNCWindow * , struct ViOwner , char * buffer, UWORD size );
  115. BOOL QueueOwnerLine_CN ( struct ViOwner , char * buffer, UWORD size );
  116. ULONG PutLineData ( struct ViNCWindow * , struct ViOwner , char * buffer, ULONG size );
  117. ULONG PutLineData_CN ( struct ViOwner , char * buffer, ULONG size );
  118. LONG SendAsyncPacket ( BPTR , ULONG , void * , void * , ULONG );
  119. struct StandardPacket * AllocAsyncPacket ( BPTR , ULONG );
  120. LONG VNCDoPacket ( LONG , LONG , LONG , LONG , LONG , LONG , LONG , LONG , struct MsgPort * );
  121. LONG Foreground ( ULONG , BPTR );
  122. LONG Background ( ULONG , BPTR );
  123. BOOL ConvertString ( struct ViNCWindow * , char * , char * );
  124. BOOL ConvertString_CN ( char * , char * );
  125. struct IORequest * PoolCreateExtIO ( struct ViNCWindow * , struct MsgPort * , UWORD size );
  126. struct IORequest * PoolCreateExtIO_CN ( struct MsgPort * , UWORD size );
  127. struct IOStdReq * PoolCreateStdIO ( struct ViNCWindow * , struct MsgPort * );
  128. struct IOStdReq * PoolCreateStdIO_CN ( struct MsgPort * );
  129. VOID PoolDeleteExtIO ( struct ViNCWindow * , struct IORequest * );
  130. VOID PoolDeleteExtIO_CN ( struct IORequest * );
  131. VOID PoolDeleteStdIO ( struct ViNCWindow * , struct IORequest * );
  132. VOID PoolDeleteStdIO_CN ( struct IORequest * );
  133. struct MsgPort * PoolCreatePort ( struct ViNCWindow * , char * , BYTE );
  134. struct MsgPort * PoolCreatePort_CN ( char * , BYTE );
  135. VOID PoolDeletePort ( struct ViNCWindow * , struct MsgPort * );
  136. VOID PoolDeletePort_CN ( struct MsgPort * );
  137. FileHandle * VNCFOpen ( char * , UBYTE , UWORD );
  138. BOOL VNCFClose ( FileHandle * );
  139. LONG VNCFRead ( FileHandle * , void * , ULONG );
  140. LONG VNCFWrite ( FileHandle * , void * , ULONG );
  141. VOID VNCOneRequester ( char * );
  142. BOOL VNCTwoRequester ( char * );
  143. LONG GetHistory ( char * , ULONG );
  144. LONG PutHistory ( char * , ULONG );
  145. LONG GetHistory ( char * , ULONG );
  146. LONG PutScreen ( char * , ULONG );
  147. char * NameOfFunction ( UWORD );
  148. char * NameOfKey ( UWORD );
  149. VOID InstallGlobalHook ( struct ViNCWindow * );
  150.  
  151. #endif   /* CLIB_VNC_PROTOS_H */
  152.